[INFO] cloning repository https://github.com/QPotato/RustTeg
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/QPotato/RustTeg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQPotato%2FRustTeg", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQPotato%2FRustTeg'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9dc779e943dd0ffeb6f15f91c0a0357de2367136
[INFO] checking QPotato/RustTeg against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQPotato%2FRustTeg" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/QPotato/RustTeg on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/QPotato/RustTeg
[INFO] finished tweaking git repo https://github.com/QPotato/RustTeg
[INFO] tweaked toml for git repo https://github.com/QPotato/RustTeg written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/QPotato/RustTeg already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wee_alloc v0.4.5
[INFO] [stderr]   Downloaded memory_units v0.4.0
[INFO] [stderr]   Downloaded console_error_panic_hook v0.1.5
[INFO] [stderr]   Downloaded js-sys v0.3.11
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.34
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.3.11
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.34
[INFO] [stderr]   Downloaded wasm-bindgen-test-macro v0.2.34
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.34
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.34
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.34
[INFO] [stderr]   Downloaded wasm-bindgen-test v0.2.34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 52387b9f19dcf1f2eb57f83bbc0b1f4f1732279c00722fe696dc19670f77915b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "52387b9f19dcf1f2eb57f83bbc0b1f4f1732279c00722fe696dc19670f77915b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "52387b9f19dcf1f2eb57f83bbc0b1f4f1732279c00722fe696dc19670f77915b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52387b9f19dcf1f2eb57f83bbc0b1f4f1732279c00722fe696dc19670f77915b", kill_on_drop: false }`
[INFO] [stdout] 52387b9f19dcf1f2eb57f83bbc0b1f4f1732279c00722fe696dc19670f77915b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc0920397c1a30ccd9b8006b2f2e6139a6f997da6e8be29090132fc23df134a4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "fc0920397c1a30ccd9b8006b2f2e6139a6f997da6e8be29090132fc23df134a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v1.0.21
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.34
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling serde v1.0.110
[INFO] [stderr]    Compiling libc v0.2.70
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]    Compiling wasm-bindgen v0.2.34
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking futures v0.1.29
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.12
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]    Compiling quote v1.0.5
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.2.34
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling serde_derive v1.0.110
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.34
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.34
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.34
[INFO] [stderr]     Checking serde_json v1.0.53
[INFO] [stderr]     Checking js-sys v0.3.11
[INFO] [stderr]     Checking console_error_panic_hook v0.1.5
[INFO] [stderr]     Checking rusteg v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `player::*`
[INFO] [stdout]  --> src/war.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use player::*;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `country`
[INFO] [stdout]   --> src/map.rs:72:34
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn add_troops(&mut self, country: Country, n: TroopCount) {
[INFO] [stdout]    |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/map.rs:72:52
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn add_troops(&mut self, country: Country, n: TroopCount) {
[INFO] [stdout]    |                                                    ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `country`
[INFO] [stdout]   --> src/map.rs:76:35
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn kill_troops(&mut self, country: Country, n: TroopCount) {
[INFO] [stdout]    |                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/map.rs:76:53
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn kill_troops(&mut self, country: Country, n: TroopCount) {
[INFO] [stdout]    |                                                     ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/map.rs:80:35
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn move_troops(&mut self, from: Country, to: Continent) {
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/map.rs:80:50
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn move_troops(&mut self, from: Country, to: Continent) {
[INFO] [stdout]    |                                                  ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d1`
[INFO] [stdout]   --> src/war.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let d1 = vec![1, 1, 1];
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_d1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d2`
[INFO] [stdout]   --> src/war.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let d2 = vec![1, 1, 1];
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_d2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private type `round::TroopScheme` in public interface (error E0446)
[INFO] [stdout]   --> src/round.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         troops: TroopScheme,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(private_in_public)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `iter_countries`
[INFO] [stdout]   --> src/map.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn iter_countries<'a>(&self) -> CountryIterator<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_troops`
[INFO] [stdout]   --> src/map.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn add_troops(&mut self, country: Country, n: TroopCount) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `kill_troops`
[INFO] [stdout]   --> src/map.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn kill_troops(&mut self, country: Country, n: TroopCount) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `move_troops`
[INFO] [stdout]   --> src/map.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn move_troops(&mut self, from: Country, to: Continent) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `restart_round`
[INFO] [stdout]   --> src/map.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn restart_round(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `iter_continents`
[INFO] [stdout]   --> src/map.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn iter_continents<'a>(&self) -> ContinentIterator<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `count_countries_on_continent`
[INFO] [stdout]    --> src/map.rs:108:12
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub fn count_countries_on_continent(&self, player: Player, continent_name: &str) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_continent_size`
[INFO] [stdout]    --> src/map.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn get_continent_size(&self, continent_name: &str) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `contient_is_ocupied_by`
[INFO] [stdout]    --> src/map.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn contient_is_ocupied_by(&self, continent_name: &str, player: Player) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_in_continent`
[INFO] [stdout]    --> src/map.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub fn is_in_continent(&self, country: Country, continent_name: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_borders`
[INFO] [stdout]    --> src/map.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub fn get_borders(&self, a: Country) -> Vec<Country> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `adjacent`
[INFO] [stdout]    --> src/map.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 141 |     pub fn adjacent(&self, a: Country, b: Country) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_posible_attacks`
[INFO] [stdout]    --> src/map.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout] 145 |     pub fn get_posible_attacks(&self, player: Player) -> HashMap<Country, Vec<Country>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `test`
[INFO] [stdout]   --> src/objective.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     test: ObjectiveTest,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `ObjectivePool`
[INFO] [stdout]   --> src/objective.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ObjectivePool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_completed`
[INFO] [stdout]   --> src/objective.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn is_completed(&self, player: Player, map: &Map) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/objective.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get`
[INFO] [stdout]    --> src/objective.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn get(&mut self) -> Objective {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `AttackResult`
[INFO] [stdout]  --> src/war.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type AttackResult = (usize, usize);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `attack`
[INFO] [stdout]  --> src/war.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn attack(map: &Map, attacker: Country, defender: Country) -> AttackResult {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Cannon`
[INFO] [stdout]  --> src/card.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Cannon,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Ship`
[INFO] [stdout]  --> src/card.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Ship,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Balloon`
[INFO] [stdout]   --> src/card.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Balloon,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Wildcard`
[INFO] [stdout]   --> src/card.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Wildcard
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/card.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `use_card`
[INFO] [stdout]   --> src/card.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn use_card(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_used`
[INFO] [stdout]   --> src/card.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn is_used(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `TroopScheme`
[INFO] [stdout]  --> src/round.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct TroopScheme {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `AddTurn`
[INFO] [stdout]   --> src/round.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct AddTurn {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum is never used: `Turn`
[INFO] [stdout]   --> src/round.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum Turn {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `SecondAdd`
[INFO] [stdout]   --> src/round.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     SecondAdd,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `War`
[INFO] [stdout]   --> src/round.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     War,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `NormalAdd`
[INFO] [stdout]   --> src/round.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     NormalAdd
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_next_turn`
[INFO] [stdout]   --> src/round.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn get_next_turn(&mut self, map: &Map) -> Option<Turn> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_next_round`
[INFO] [stdout]   --> src/round.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub fn get_next_round(self) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 45 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking wasm-bindgen-futures v0.3.11
[INFO] [stderr]     Checking wasm-bindgen-test v0.2.34
[INFO] [stdout] warning: unused import: `player::*`
[INFO] [stdout]  --> src/war.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use player::*;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `country`
[INFO] [stdout]   --> src/map.rs:72:34
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn add_troops(&mut self, country: Country, n: TroopCount) {
[INFO] [stdout]    |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/map.rs:72:52
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn add_troops(&mut self, country: Country, n: TroopCount) {
[INFO] [stdout]    |                                                    ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `country`
[INFO] [stdout]   --> src/map.rs:76:35
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn kill_troops(&mut self, country: Country, n: TroopCount) {
[INFO] [stdout]    |                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/map.rs:76:53
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn kill_troops(&mut self, country: Country, n: TroopCount) {
[INFO] [stdout]    |                                                     ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/map.rs:80:35
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn move_troops(&mut self, from: Country, to: Continent) {
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/map.rs:80:50
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn move_troops(&mut self, from: Country, to: Continent) {
[INFO] [stdout]    |                                                  ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d1`
[INFO] [stdout]   --> src/war.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let d1 = vec![1, 1, 1];
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_d1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d2`
[INFO] [stdout]   --> src/war.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let d2 = vec![1, 1, 1];
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_d2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private type `round::TroopScheme` in public interface (error E0446)
[INFO] [stdout]   --> src/round.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         troops: TroopScheme,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(private_in_public)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `iter_countries`
[INFO] [stdout]   --> src/map.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn iter_countries<'a>(&self) -> CountryIterator<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_troops`
[INFO] [stdout]   --> src/map.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn add_troops(&mut self, country: Country, n: TroopCount) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `kill_troops`
[INFO] [stdout]   --> src/map.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn kill_troops(&mut self, country: Country, n: TroopCount) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `move_troops`
[INFO] [stdout]   --> src/map.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn move_troops(&mut self, from: Country, to: Continent) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `restart_round`
[INFO] [stdout]   --> src/map.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn restart_round(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `iter_continents`
[INFO] [stdout]   --> src/map.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn iter_continents<'a>(&self) -> ContinentIterator<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `count_countries_on_continent`
[INFO] [stdout]    --> src/map.rs:108:12
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub fn count_countries_on_continent(&self, player: Player, continent_name: &str) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_continent_size`
[INFO] [stdout]    --> src/map.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn get_continent_size(&self, continent_name: &str) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `contient_is_ocupied_by`
[INFO] [stdout]    --> src/map.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn contient_is_ocupied_by(&self, continent_name: &str, player: Player) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_in_continent`
[INFO] [stdout]    --> src/map.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub fn is_in_continent(&self, country: Country, continent_name: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_borders`
[INFO] [stdout]    --> src/map.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub fn get_borders(&self, a: Country) -> Vec<Country> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `adjacent`
[INFO] [stdout]    --> src/map.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 141 |     pub fn adjacent(&self, a: Country, b: Country) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_posible_attacks`
[INFO] [stdout]    --> src/map.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout] 145 |     pub fn get_posible_attacks(&self, player: Player) -> HashMap<Country, Vec<Country>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `test`
[INFO] [stdout]   --> src/objective.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     test: ObjectiveTest,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `ObjectivePool`
[INFO] [stdout]   --> src/objective.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ObjectivePool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_completed`
[INFO] [stdout]   --> src/objective.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn is_completed(&self, player: Player, map: &Map) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/objective.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get`
[INFO] [stdout]    --> src/objective.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn get(&mut self) -> Objective {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `AttackResult`
[INFO] [stdout]  --> src/war.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type AttackResult = (usize, usize);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `attack`
[INFO] [stdout]  --> src/war.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn attack(map: &Map, attacker: Country, defender: Country) -> AttackResult {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Cannon`
[INFO] [stdout]  --> src/card.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Cannon,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Ship`
[INFO] [stdout]  --> src/card.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Ship,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Balloon`
[INFO] [stdout]   --> src/card.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Balloon,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Wildcard`
[INFO] [stdout]   --> src/card.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Wildcard
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/card.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `use_card`
[INFO] [stdout]   --> src/card.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn use_card(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_used`
[INFO] [stdout]   --> src/card.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn is_used(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `TroopScheme`
[INFO] [stdout]  --> src/round.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct TroopScheme {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `AddTurn`
[INFO] [stdout]   --> src/round.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct AddTurn {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum is never used: `Turn`
[INFO] [stdout]   --> src/round.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum Turn {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `SecondAdd`
[INFO] [stdout]   --> src/round.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     SecondAdd,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `War`
[INFO] [stdout]   --> src/round.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     War,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `NormalAdd`
[INFO] [stdout]   --> src/round.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     NormalAdd
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_next_turn`
[INFO] [stdout]   --> src/round.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn get_next_turn(&mut self, map: &Map) -> Option<Turn> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_next_round`
[INFO] [stdout]   --> src/round.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub fn get_next_round(self) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 45 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 15s
[INFO] running `Command { std: "docker" "inspect" "fc0920397c1a30ccd9b8006b2f2e6139a6f997da6e8be29090132fc23df134a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc0920397c1a30ccd9b8006b2f2e6139a6f997da6e8be29090132fc23df134a4", kill_on_drop: false }`
[INFO] [stdout] fc0920397c1a30ccd9b8006b2f2e6139a6f997da6e8be29090132fc23df134a4
